package com.kingdee.eas.minghua.finance;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class VoucherFactory
{
    private VoucherFactory()
    {
    }
    public static com.kingdee.eas.minghua.finance.IVoucher getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IVoucher)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("28D97D59") ,com.kingdee.eas.minghua.finance.IVoucher.class);
    }
    
    public static com.kingdee.eas.minghua.finance.IVoucher getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IVoucher)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("28D97D59") ,com.kingdee.eas.minghua.finance.IVoucher.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.finance.IVoucher getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IVoucher)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("28D97D59"));
    }
    public static com.kingdee.eas.minghua.finance.IVoucher getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IVoucher)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("28D97D59"));
    }
}